MailPoet\Config\Populator D

Total Complexity 133
Dependencies 42
Dependents 3
Total lines 905
Lines of code 790
Logical lines of code 312
Comment lines 35
Methods 34
Properties 10

Methods 34

Method Rating Maintainability Complexity Lines of code
migrateFormPlacement()
C
35 26 84
createDefaultSettings()
B
38 20 69
addPlacementStatusToForms()
B
44 19 43
updateToUnifiedTrackingSettings()
S
55 7 18
createMailPoetPage()
S
51 6 27
newsletterOptionFields()
S
39 1 99
__construct()
S
37 1 92
populate()
S
52 5 26
createDefaultUsersFlags()
S
56 5 18
moveGoogleAnalyticsFromPremium()
S
53 3 25
scheduleTask()
S
58 3 16
updateMetaFields()
S
61 3 11
pauseTasksForPausedNewsletters()
S
53 2 25
removeDuplicates()
S
56 2 18
createDefaultSegment()
S
57 2 17
createOrUpdateUserFlag()
S
58 2 15
newsletterTemplates()
S
59 2 15
up()
S
52 1 28
updateLastSubscribedAt()
S
60 2 13
updateSentUnsubscribeLinksToInstantUnsubscribeLinks()
S
61 2 12
moveNewsletterTemplatesThumbnailData()
S
63 2 11
createSourceForSubscribers()
S
56 1 21
scheduleSubscriberLastEngagementDetection()
S
65 2 9
scheduleAuthorizedSendingEmailsCheck()
S
66 2 9
enableStatsNotificationsForAutomatedEmails()
S
66 2 8
scheduleBeamer()
S
68 2 8
scheduleSubscriberLinkTokens()
S
72 1 6
scheduleInitialInactiveSubscribersCheck()
S
72 1 6
updateRow()
S
69 1 8
detectReferral()
S
82 1 3
insertRow()
S
70 1 7
scheduleNewsletterTemplateThumbnails()
S
70 1 7
rowExists()
S
63 1 10
scheduleUnsubscribeTokens()
S
72 1 6